package com.mashibing.servicemap.service.impl;

import com.mashibing.servicemap.remote.PointClient;
import com.mashibing.servicemap.service.PointService;
import org.mashibing.dto.ResponseResult;
import org.mashibing.request.PointRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PointServiceImpl implements PointService {

    @Autowired
    PointClient pointClient;

    @Override
    public ResponseResult upload(PointRequest pointRequest){

        return pointClient.upload(pointRequest);
    }
}